import sys

from PyQt5.QtWidgets import QApplication

from pmgwidgets import PMGTableWidget

if __name__ == '__main__':
    app = QApplication(sys.argv)
    l = ['hhhhhhhhhhhhhh',
         ['a', 'v'],
         [1, 2, 3, 4],
         [3, 4, 5, 66, 7],
         [123, '333', 'ffffffff']
         ]
    demo = PMGTableWidget()

    demo.set_data_2d( l)

    demo.show()
    sys.exit(app.exec_())